#include "Object.h"

Object::Object(double x, double y, double z, double vX , double vY , double vZ , double xRot , double yRot ,
                        double zRot , double vXRot , double vYRot , double vZRot )
{
    this->pos = Vertex3D(x,y,z);
    this->vPos = Vertex3D(vX,vY,vZ);
    this->rot =  Vertex3D(xRot, yRot,zRot);
    this->vRot = Vertex3D(vXRot,vYRot,vZRot);
    //ctor
}

Object::Object(Vertex3D pos, Vertex3D vPos, Vertex3D rot, Vertex3D vRot)
{
    this->pos = pos;
    this->vPos = vPos;
    this->rot = rot;
    this->vRot = vRot;
}

Object::~Object()
{
    //dtor
}

void Object::updatePos()
{
    pos+=vPos;
    rot+=vRot;
}
